package com.stox.charting.ui.swing.model.uiUnit;

import java.awt.Color;
import java.awt.Graphics;

import com.stox.charting.ui.swing.model.ChartModel;
import com.stox.charting.ui.swing.model.intf.Rectangle;

public interface UiUnit extends Rectangle {

	public void processUi(double width, double factor);
	
	public void paint(Graphics g);
	
	public ChartModel<?> getModel();
	
	public int getIndex();
	
	public Color getColor();
	
}
